App({
  globalData: {
    goodsList: [
      {
        name: '泽塔升华器套装 附赠软胶小人',
        url: 'cloud://ultraman-8g0hcrf7c8afe553.756c-ultraman-8g0hcrf7c8afe553-1306160066/Ultraman/goods1.jpeg',
        price: 589,
        num: 0,
        checked: false
      },
      {
        name: '万代 SHF 真骨雕 迪迦 可动手办',
        url: 'cloud://ultraman-8g0hcrf7c8afe553.756c-ultraman-8g0hcrf7c8afe553-1306160066/Ultraman/goods2.jpeg',
        price: 368,
        num: 0,
        checked: false
      },
      {
        name: '25周年特别纪念版神光棒',
        url: 'cloud://ultraman-8g0hcrf7c8afe553.756c-ultraman-8g0hcrf7c8afe553-1306160066/Ultraman/goods21.jpeg',
        price: 680,
        num: 0,
        checked: false
      },
      {
        name: '赛罗眼镜',
        url: 'cloud://ultraman-8g0hcrf7c8afe553.756c-ultraman-8g0hcrf7c8afe553-1306160066/Ultraman/goods20.jpeg',
        price: 389,
        num: 0,
        checked: false
      },
      {
        name: '捷德升华器',
        url: 'cloud://ultraman-8g0hcrf7c8afe553.756c-ultraman-8g0hcrf7c8afe553-1306160066/Ultraman/goods10.jpg',
        price: 339,
        num: 0,
        checked: false
      },
    ],
    shopCar: []
  },
  /**
   * 当小程序初始化完成时，会触发 onLaunch（全局只触发一次）
   */
  onLaunch: function () {
    
  },

  /**
   * 当小程序启动，或从后台进入前台显示，会触发 onShow
   */
  onShow: function (options) {
    
  },

  /**
   * 当小程序从前台进入后台，会触发 onHide
   */
  onHide: function () {
    
  },

  /**
   * 当小程序发生脚本错误，或者 api 调用失败时，会触发 onError 并带上错误信息
   */
  onError: function (msg) {
    
  }
})
